projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc15b9b
)
pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices
author
Thomas Abraham
<
[email protected]
>
Sat, 23 Apr 2016 16:48:07 +0000
(22:18 +0530)
committer
Minkyu Kang
<
[email protected]
>
Wed, 25 May 2016 01:00:18 +0000
(10:00 +0900)
It is possible to have multiple pin controllers in the system. Use the
DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned
a sequence number.
Cc: Masahiro Yamada <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Signed-off-by: Thomas Abraham <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Minkyu Kang <
[email protected]
>
drivers/pinctrl/pinctrl-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-uclass.c
b/drivers/pinctrl/pinctrl-uclass.c
index ccc5d309d6de25bbf5173595b0d1b78941b3f681..fd04b2645417f9eb5d5a649cc4ab90155d430525 100644
(file)
--- a/
drivers/pinctrl/pinctrl-uclass.c
+++ b/
drivers/pinctrl/pinctrl-uclass.c
@@
-287,5
+287,6
@@
static int pinctrl_post_bind(struct udevice *dev)
UCLASS_DRIVER(pinctrl) = {
.id = UCLASS_PINCTRL,
.post_bind = pinctrl_post_bind,
+ .flags = DM_UC_FLAG_SEQ_ALIAS,
.name = "pinctrl",
};